package com.beigai.imessage.message.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by xxl on 2017/5/11.
 */
public class MessageUnit implements Serializable {
    private static final long serialVersionUID = 3371748519065619239L;
    /*消息*/
    private String message;
    public final static int STR = 1, IMAGE = 2;
    /*消息类型*/
    private Integer messageType;
    /*消息序列*/
    private Integer messageSortNum;
    /*创建时间*/
    private Date createTime;


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getMessageSortNum() {
        return messageSortNum;
    }

    public void setMessageSortNum(Integer messageSortNum) {
        this.messageSortNum = messageSortNum;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getMessageType() {
        return messageType;
    }

    public void setMessageType(Integer messageType) {
        this.messageType = messageType;
    }
}
